package com.loyi.cloud.hbmis.domain;

/**
 * 设备信息
 * 
 * @author Lenovo
 *
 */
public class Device extends EntityBase {

	private String deviceid;

	private String ptid;

	private String name;

	private long lastactive;

	private int state;

	private int ipflag;

	private String ipaddr;

	private int ipport;
	private int smsflag;
	private String sim;
	private int protocol;

	public String getDeviceid() {
		return deviceid;
	}

	public void setDeviceid(String deviceid) {
		this.deviceid = deviceid;
	}

	public String getPtid() {
		return ptid;
	}

	public void setPtid(String ptid) {
		this.ptid = ptid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getLastactive() {
		return lastactive;
	}

	public void setLastactive(long lastactive) {
		this.lastactive = lastactive;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public int getIpflag() {
		return ipflag;
	}

	public void setIpflag(int ipflag) {
		this.ipflag = ipflag;
	}

	public String getIpaddr() {
		return ipaddr;
	}

	public void setIpaddr(String ipaddr) {
		this.ipaddr = ipaddr;
	}

	public int getIpport() {
		return ipport;
	}

	public void setIpport(int ipport) {
		this.ipport = ipport;
	}

	public int getSmsflag() {
		return smsflag;
	}

	public void setSmsflag(int smsflag) {
		this.smsflag = smsflag;
	}

	public String getSim() {
		return sim;
	}

	public void setSim(String sim) {
		this.sim = sim;
	}

	public int getProtocol() {
		return protocol;
	}

	public void setProtocol(int protocol) {
		this.protocol = protocol;
	}

}
